package cn.tedu._06springaop.egaop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCartService {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu._06springaop");
        CartServiceImpl cartService = context.getBean(CartServiceImpl.class);
        cartService.addCart("4");
    }
}
